﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Microhard.Permission.Interface;
using Microhard.Protal.Models;
using Microsoft.Practices.Unity;
using Microhard.Protal.Interfaces;
using Microhard.Permission.MVCFilter;

namespace Microhard.WebUI.Areas.Protal.Controllers
{
    public class CategoryController : MicroHardBaseController<CategoryModel>
    {
        private ICategory _resp = null;
        [Dependency]
        public ICategory Category
        {
            set
            {
                base._repository = value;
                _resp = value;
            }
            get
            {
                return _resp;
            }
        }
    }
}
